package gentle.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import gentle.entity.*;
import java.util.Map;

/**
 * dao
 *
 * @author py
 * @Date 2018年4月19日23:15:54
 */
public interface CustomerDao extends BaseMapper<CustomerInfo> {

    List<CustomerInfo> getQueryPage(@Param("page") Page<CustomerInfo> page, Map<String, Object> params);

    int getQueryPagesCount(@Param("page") Page<CustomerInfo> page, Map<String, Object> params);

    List<CustomerInfo> getQueryQfPage(@Param("page") Page<CustomerInfo> page, Map<String, Object> params);

    int getQueryPagesQfCount(@Param("page") Page<CustomerInfo> page, Map<String, Object> params);

    List<CustomerReservationsUpdateLogInfo> getLogList(@Param("page") Page<CustomerReservationsUpdateLogInfo> page, Map<String, Object> params);

}